PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Gradient / LuxXx - My Soul i.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.900 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=1.169 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=5 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=1 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=5.552 |
| 27 | fWaveSmoothing=0.504 |
| 28 | fWaveParam=-1.000 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=0.626 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00001 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.08925 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.50330 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=0.600 |
| 86 | wavecode_0_b=0.400 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_point1= |
| 89 | wave_0_per_point2=x0 = .5 + .4 * sin(time/2); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=angle = rand(1000)/1000*6.28; |
| 92 | wave_0_per_point5=rad = rand(1000)/1000; |
| 93 | wave_0_per_point6=rad = rad * rad; |
| 94 | wave_0_per_point7= |
| 95 | wave_0_per_point8=x = x0 + .1*rad*sin(angle); |
| 96 | wave_0_per_point9=y = .5 + .1*rad*cos(angle); |
| 97 | wave_0_per_point10= a = 1-rad; |
| 98 | wavecode_1_enabled=0 |
| 99 | wavecode_1_samples=512 |
| 100 | wavecode_1_sep=0 |
| 101 | wavecode_1_bSpectrum=0 |
| 102 | wavecode_1_bUseDots=0 |
| 103 | wavecode_1_bDrawThick=1 |
| 104 | wavecode_1_bAdditive=1 |
| 105 | wavecode_1_scaling=1.00000 |
| 106 | wavecode_1_smoothing=0.50000 |
| 107 | wavecode_1_r=1.000 |
| 108 | wavecode_1_g=1.000 |
| 109 | wavecode_1_b=1.000 |
| 110 | wavecode_1_a=1.000 |
| 111 | wave_1_per_frame1=trel = q11-.0; |
| 112 | wave_1_per_frame2=t1 = int(trel); |
| 113 | wave_1_per_frame3=t2 = trel - int(trel); |
| 114 | wavecode_2_enabled=0 |
| 115 | wavecode_2_samples=512 |
| 116 | wavecode_2_sep=0 |
| 117 | wavecode_2_bSpectrum=0 |
| 118 | wavecode_2_bUseDots=0 |
| 119 | wavecode_2_bDrawThick=1 |
| 120 | wavecode_2_bAdditive=0 |
| 121 | wavecode_2_scaling=1.00000 |
| 122 | wavecode_2_smoothing=0.50000 |
| 123 | wavecode_2_r=1.000 |
| 124 | wavecode_2_g=1.000 |
| 125 | wavecode_2_b=1.000 |
| 126 | wavecode_2_a=1.000 |
| 127 | wave_2_per_frame1=trel = q11-.33; |
| 128 | wave_2_per_frame2=t1 = int(trel); |
| 129 | wave_2_per_frame3=t2 = trel - int(trel); |
| 130 | wavecode_3_enabled=0 |
| 131 | wavecode_3_samples=512 |
| 132 | wavecode_3_sep=0 |
| 133 | wavecode_3_bSpectrum=0 |
| 134 | wavecode_3_bUseDots=0 |
| 135 | wavecode_3_bDrawThick=1 |
| 136 | wavecode_3_bAdditive=1 |
| 137 | wavecode_3_scaling=1.00000 |
| 138 | wavecode_3_smoothing=0.50000 |
| 139 | wavecode_3_r=1.000 |
| 140 | wavecode_3_g=1.000 |
| 141 | wavecode_3_b=1.000 |
| 142 | wavecode_3_a=1.000 |
| 143 | wave_3_per_frame1=trel = q11-.66; |
| 144 | wave_3_per_frame2=t1 = int(trel); |
| 145 | wave_3_per_frame3=t2 = trel - int(trel); |
| 146 | shapecode_0_enabled=0 |
| 147 | shapecode_0_sides=100 |
| 148 | shapecode_0_additive=0 |
| 149 | shapecode_0_thickOutline=0 |
| 150 | shapecode_0_textured=1 |
| 151 | shapecode_0_num_inst=1 |
| 152 | shapecode_0_x=0.800 |
| 153 | shapecode_0_y=0.500 |
| 154 | shapecode_0_rad=0.24243 |
| 155 | shapecode_0_ang=0.00000 |
| 156 | shapecode_0_tex_ang=1.88496 |
| 157 | shapecode_0_tex_zoom=1.72851 |
| 158 | shapecode_0_r=0.800 |
| 159 | shapecode_0_g=1.000 |
| 160 | shapecode_0_b=0.500 |
| 161 | shapecode_0_a=0.600 |
| 162 | shapecode_0_r2=0.900 |
| 163 | shapecode_0_g2=0.900 |
| 164 | shapecode_0_b2=1.000 |
| 165 | shapecode_0_a2=0.300 |
| 166 | shapecode_0_border_r=1.000 |
| 167 | shapecode_0_border_g=1.000 |
| 168 | shapecode_0_border_b=1.000 |
| 169 | shapecode_0_border_a=0.000 |
| 170 | shapecode_1_enabled=0 |
| 171 | shapecode_1_sides=100 |
| 172 | shapecode_1_additive=0 |
| 173 | shapecode_1_thickOutline=0 |
| 174 | shapecode_1_textured=1 |
| 175 | shapecode_1_num_inst=1 |
| 176 | shapecode_1_x=0.130 |
| 177 | shapecode_1_y=0.190 |
| 178 | shapecode_1_rad=0.11045 |
| 179 | shapecode_1_ang=0.00000 |
| 180 | shapecode_1_tex_ang=3.14159 |
| 181 | shapecode_1_tex_zoom=1.71105 |
| 182 | shapecode_1_r=1.000 |
| 183 | shapecode_1_g=0.000 |
| 184 | shapecode_1_b=1.000 |
| 185 | shapecode_1_a=1.000 |
| 186 | shapecode_1_r2=1.000 |
| 187 | shapecode_1_g2=1.000 |
| 188 | shapecode_1_b2=1.000 |
| 189 | shapecode_1_a2=1.000 |
| 190 | shapecode_1_border_r=1.000 |
| 191 | shapecode_1_border_g=1.000 |
| 192 | shapecode_1_border_b=1.000 |
| 193 | shapecode_1_border_a=0.000 |
| 194 | shapecode_2_enabled=0 |
| 195 | shapecode_2_sides=5 |
| 196 | shapecode_2_additive=1 |
| 197 | shapecode_2_thickOutline=0 |
| 198 | shapecode_2_textured=0 |
| 199 | shapecode_2_num_inst=1 |
| 200 | shapecode_2_x=0.900 |
| 201 | shapecode_2_y=0.500 |
| 202 | shapecode_2_rad=0.22613 |
| 203 | shapecode_2_ang=0.00000 |
| 204 | shapecode_2_tex_ang=0.00000 |
| 205 | shapecode_2_tex_zoom=1.00000 |
| 206 | shapecode_2_r=1.000 |
| 207 | shapecode_2_g=0.200 |
| 208 | shapecode_2_b=0.200 |
| 209 | shapecode_2_a=1.000 |
| 210 | shapecode_2_r2=0.000 |
| 211 | shapecode_2_g2=0.000 |
| 212 | shapecode_2_b2=0.000 |
| 213 | shapecode_2_a2=0.000 |
| 214 | shapecode_2_border_r=1.000 |
| 215 | shapecode_2_border_g=1.000 |
| 216 | shapecode_2_border_b=0.000 |
| 217 | shapecode_2_border_a=0.000 |
| 218 | shapecode_3_enabled=0 |
| 219 | shapecode_3_sides=36 |
| 220 | shapecode_3_additive=1 |
| 221 | shapecode_3_thickOutline=0 |
| 222 | shapecode_3_textured=0 |
| 223 | shapecode_3_num_inst=1 |
| 224 | shapecode_3_x=0.500 |
| 225 | shapecode_3_y=0.500 |
| 226 | shapecode_3_rad=0.18717 |
| 227 | shapecode_3_ang=0.00000 |
| 228 | shapecode_3_tex_ang=0.00000 |
| 229 | shapecode_3_tex_zoom=1.00000 |
| 230 | shapecode_3_r=0.000 |
| 231 | shapecode_3_g=0.020 |
| 232 | shapecode_3_b=0.000 |
| 233 | shapecode_3_a=1.000 |
| 234 | shapecode_3_r2=0.000 |
| 235 | shapecode_3_g2=0.000 |
| 236 | shapecode_3_b2=0.000 |
| 237 | shapecode_3_a2=0.000 |
| 238 | shapecode_3_border_r=1.000 |
| 239 | shapecode_3_border_g=1.000 |
| 240 | shapecode_3_border_b=1.000 |
| 241 | shapecode_3_border_a=0.000 |
| 242 | per_frame_init_1=x1 = 0.5; |
| 243 | per_frame_init_2=y1 = 0.6; |
| 244 | per_frame_init_3= |
| 245 | per_frame_init_4=x2 = 0.5; |
| 246 | per_frame_init_5=y2 = 0.4; |
| 247 | per_frame_init_6= |
| 248 | per_frame_init_7=x3 = 0.5; |
| 249 | per_frame_init_8=y3 = 0.2; |
| 250 | per_frame_init_9= |
| 251 | per_frame_init_10=vr1 = 0.0001; |
| 252 | per_frame_init_11=vr2 = 0.0; |
| 253 | per_frame_init_12=vr3 = 0.0; |
| 254 | per_frame_init_13= |
| 255 | per_frame_init_14=vx1 = 0; |
| 256 | per_frame_init_15=vx2 = 0; |
| 257 | per_frame_init_16=vx3 = 0; |
| 258 | per_frame_1=zoom = 1; |
| 259 | per_frame_2=warp = 0; |
| 260 | per_frame_3=wave_a = 0; |
| 261 | per_frame_4= |
| 262 | per_frame_5=r = 0.04+ (bass_att+treb_att)*0.01; |
| 263 | per_frame_6=monitor = aspecty; |
| 264 | per_frame_7=vr = sin(vr1)*r; |
| 265 | per_frame_8=bounce = below(y1,r-(aspectx-1)*0.5);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.96 + (r-y1-(aspectx-1)*0.5)*0.1, vy1-0.0003*60/fps); |
| 266 | per_frame_9=vx1 = if(bounce, vx1 + (vr-vx1)*0.15, vx1);vr = if(bounce, vr + (vx1-vr)*0.85 , vr);vr1 = asin(vr/r); |
| 267 | per_frame_10=bounce = above(x1,1-r+(aspecty-1)*0.5);vx1 = if(bounce, - abs(vx1)*0.96 + (1-r-x1+(aspecty-1)*0.5)*0.1, vx1); |
| 268 | per_frame_11=vy1 = if(bounce, vy1 + (vr-vy1)*0.15, vy1);vr = if(bounce, vr + (vy1-vr)*0.85 , vr);vr1 = asin(vr/r); |
| 269 | per_frame_12=bounce = below(x1,r-(aspecty-1)*0.5);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.96 + (r-x1-(aspecty-1)*0.5)*0.1, vx1); |
| 270 | per_frame_13=vy1 = if(bounce, vy1 + (-vr-vy1)*0.15, vy1);vr = if(bounce, vr - (vy1+vr)*0.85 , vr);vr1 = asin(vr/r); |
| 271 | per_frame_14= |
| 272 | per_frame_15=vr = sin(vr2)*r; |
| 273 | per_frame_16=bounce = below(y2,r-(aspectx-1)*0.5);y2 = y2+vy2;vy2 = if(bounce, abs(vy2)*0.96 + (r-y2-(aspectx-1)*0.5)*0.1, vy2-0.0003*60/fps); |
| 274 | per_frame_17=vx2 = if(bounce, vx2 + (vr-vx2)*0.15, vx2);vr = if(bounce, vr + (vx2-vr)*0.85 , vr);vr2 = asin(vr/r); |
| 275 | per_frame_18=bounce = above(x2,1-r+(aspecty-1)*0.5);vx2 = if(bounce, - abs(vx2)*0.96 + (1-r-x2+(aspecty-1)*0.5)*0.1, vx2); |
| 276 | per_frame_19=vy2 = if(bounce, vy2 + (vr-vy2)*0.15, vy2);vr = if(bounce, vr + (vy2-vr)*0.85 , vr);vr2 = asin(vr/r); |
| 277 | per_frame_20=bounce = below(x2,r-(aspecty-1)*0.5);x2 = x2+vx2;vx2 = if(bounce, abs(vx2)*0.96 + (r-x2-(aspecty-1)*0.5)*0.1, vx2); |
| 278 | per_frame_21=vy2 = if(bounce, vy2 + (-vr-vy2)*0.15, vy2);vr = if(bounce, vr - (vy2+vr)*0.85 , vr);vr2 = asin(vr/r); |
| 279 | per_frame_22= |
| 280 | per_frame_23=vr = sin(vr3)*r; |
| 281 | per_frame_24=bounce = below(y3,r-(aspectx-1)*0.5);y3 = y3+vy3;vy3 = if(bounce, abs(vy3)*0.96 + (r-y3-(aspectx-1)*0.5)*0.1, vy3-0.0003*60/fps); |
| 282 | per_frame_25=vx3 = if(bounce, vx3 + (vr-vx3)*0.15, vx3);vr = if(bounce, vr + (vx3-vr)*0.85 , vr);vr3 = asin(vr/r); |
| 283 | per_frame_26=bounce = above(x3,1-r+(aspecty-1)*0.5);vx3 = if(bounce, - abs(vx3)*0.96 + (1-r-x3+(aspecty-1)*0.5)*0.1, vx3); |
| 284 | per_frame_27=vy3 = if(bounce, vy3 + (vr-vy3)*0.15, vy3);vr = if(bounce, vr + (vy3-vr)*0.85 , vr);vr3 = asin(vr/r); |
| 285 | per_frame_28=bounce = below(x3,r-(aspecty-1)*0.5);x3 = x3+vx3;vx3 = if(bounce, abs(vx3)*0.96 + (r-x3-(aspecty-1)*0.5)*0.1, vx3); |
| 286 | per_frame_29=vy3 = if(bounce, vy3 + (-vr-vy3)*0.15, vy3);vr = if(bounce, vr - (vy3+vr)*0.85 , vr);vr3 = asin(vr/r); |
| 287 | per_frame_30= |
| 288 | per_frame_31=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r); |
| 289 | per_frame_32=bounce = bounce*below(sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)),sqrt( sqr(x1-x2) + sqr(y1-y2))); |
| 290 | per_frame_33=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent |
| 291 | per_frame_34=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2); |
| 292 | per_frame_35=vr = sin(vr1)*r; v2r=sin(vr2)*r; |
| 293 | per_frame_36=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-sin(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 294 | per_frame_37= + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); |
| 295 | per_frame_38=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-cos(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 296 | per_frame_39= + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); |
| 297 | per_frame_40=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-sin(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 298 | per_frame_41= + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2); |
| 299 | per_frame_42=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-cos(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 300 | per_frame_43= + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2); |
| 301 | per_frame_44=vr = if(bounce, vr + (cos(w1-ref_ang)*(v1-v2)-vr)*0.9 , vr);vr1 = asin(vr/r); |
| 302 | per_frame_45=v2r = if(bounce, v2r + (cos(w2-ref_ang)*(v2-v1)-v2r)*0.9 , v2r);vr2 = asin(v2r/r); |
| 303 | per_frame_46= |
| 304 | per_frame_47=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r); |
| 305 | per_frame_48=bounce = bounce*below(sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)),sqrt( sqr(x1-x3) + sqr(y1-y3))); |
| 306 | per_frame_49=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent |
| 307 | per_frame_50=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3); |
| 308 | per_frame_51=vr = sin(vr1)*r; v2r=sin(vr3)*r; |
| 309 | per_frame_52=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-sin(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 310 | per_frame_53= + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); |
| 311 | per_frame_54=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-cos(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 312 | per_frame_55= + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); |
| 313 | per_frame_56=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-sin(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 314 | per_frame_57= + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); |
| 315 | per_frame_58=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-cos(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 316 | per_frame_59= + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); |
| 317 | per_frame_60=vr = if(bounce, vr + (cos(w1-ref_ang)*(v1-v2)-vr)*0.9 , vr);vr1 = asin(vr/r); |
| 318 | per_frame_61=v2r = if(bounce, v2r + (cos(w2-ref_ang)*(v2-v1)-v2r)*0.9 , v2r);vr3 = asin(v2r/r); |
| 319 | per_frame_62= |
| 320 | per_frame_63=bounce = below( sqrt( sqr(x3+vx3-x2-vx2) + sqr(y3+vy3-y2-vy2)), 2*r); |
| 321 | per_frame_64=bounce = bounce*below(sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)),sqrt( sqr(x2-x3) + sqr(y2-y3))); |
| 322 | per_frame_65=ref_ang = atan2(x2-x3,y2-y3)+asin(1); // common tangent |
| 323 | per_frame_66=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx3,vy3);w2 = atan2(vx2,vy2); |
| 324 | per_frame_67=vr = sin(vr3)*r; v2r=sin(vr2)*r; |
| 325 | per_frame_68=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-sin(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 326 | per_frame_69= + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3); |
| 327 | per_frame_70=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + ((vr-v2r)-cos(ref_ang)*v1*cos(w1-ref_ang))*0.1 |
| 328 | per_frame_71= + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3); |
| 329 | per_frame_72=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-sin(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 330 | per_frame_73= + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2); |
| 331 | per_frame_74=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + ((v2r-vr)-cos(ref_ang)*v2*cos(w2-ref_ang))*0.1 |
| 332 | per_frame_75= + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2); |
| 333 | per_frame_76=vr = if(bounce, vr + (cos(w1-ref_ang)*(v1-v2)-vr)*0.9 , vr);vr3 = asin(vr/r); |
| 334 | per_frame_77=v2r = if(bounce, v2r + (cos(w2-ref_ang)*(v2-v1)-v2r)*0.9 , v2r);vr2 = asin(v2r/r); |
| 335 | per_frame_78= |
| 336 | per_frame_79= |
| 337 | per_frame_80= |
| 338 | per_frame_81= |
| 339 | per_frame_82=q1 = aspectx; |
| 340 | per_frame_83=q2 = aspecty; |
| 341 | per_frame_84=q3 = r*2; |
| 342 | per_frame_85= |
| 343 | per_frame_86=q4 = x1; q5 = y1; q6 = vr1; |
| 344 | per_frame_87=q7 = x2; q8 = y2; q9 = vr2; |
| 345 | per_frame_88=q10 = x3; q11 = y3; q12 = vr3; |
| 346 | per_frame_89= |
| 347 | per_frame_90=q13 = atan2( (x1+x2+x3)/3 - 0.5, (y1+y2+y3)/3-0.5); |
| 348 | per_frame_91=q14 = sigmoid(sqrt( sqr((x1+x2+x3)/3 - 0.5) + sqr((y1+y2+y3)/3-0.5) ),2)*0.2; |
| 349 | warp_1=`shader_body |
| 350 | warp_2=`{ |
| 351 | warp_3=`uv = 0.5 + (uv-0.5)*1.01; |
| 352 | warp_4=`float2 dither_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 353 | warp_5=`float3 rand = (tex2D(sampler_noise_lq, dither_uv)-0.5); |
| 354 | warp_6=` |
| 355 | warp_7=`float3 uv3d = float3(uv_orig,q1); |
| 356 | warp_8=`float3 d3d = float3(0.03,0.03,0); |
| 357 | warp_9=`float3 dx = tex3d(sampler_noisevol_hq, uv3d + float3(1,0,0)*d3d) - tex3d(sampler_noisevol_hq, uv3d - float3(1,0,0)*d3d); |
| 358 | warp_10=`float3 dy = tex3d(sampler_noisevol_hq, uv3d + float3(0,1,0)*d3d) - tex3d(sampler_noisevol_hq, uv3d - float3(0,1,0)*d3d); |
| 359 | warp_11=`float x =tex3d(sampler_noisevol_hq, uv3d); |
| 360 | warp_12=`float2 my_uv = uv + (-8*float2(dx.x,dy.x)*(1-x) - 8*float2(dy.x,-dx.x))*texsize.zw; |
| 361 | warp_13=` |
| 362 | warp_14=`ret.x = tex2D( sampler_main, my_uv ).x; |
| 363 | warp_15=`ret.x += (ret.x - GetBlur3(my_uv))*0.1; |
| 364 | warp_16=`ret.x *= 0.95; |
| 365 | warp_17=`ret.x += rand*0.4*(1-x*2); |
| 366 | warp_18=` |
| 367 | warp_19=`ret.y = GetPixel(uv_orig+rand*texsize.zw*0).y*0.96-0.004; |
| 368 | warp_20=` |
| 369 | warp_21=`float2 d = texsize.zw*4; |
| 370 | warp_22=`dx = GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv - float2(1,0)*d); |
| 371 | warp_23=`dy = GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv - float2(0,1)*d); |
| 372 | warp_24=` |
| 373 | warp_25=`float2 uv_blue =lerp(uv_orig,0.5+(my_uv-0.5)*1.02,-1); |
| 374 | warp_26=`uv_blue += float2(dx.z,dy.z)*texsize.zw*0 + rand*texsize.zw*4; |
| 375 | warp_27=`ret.z = GetPixel(uv_blue).z + ret.x*0.2; |
| 376 | warp_28=`ret.z += -(ret.z-GetBlur1(uv_blue).z)*0.1 - 0.03; |
| 377 | warp_29=`} |
| 378 | comp_1=`shader_body |
| 379 | comp_2=`{ |
| 380 | comp_3=` ret = tex2D(sampler_main, uv).xyz; |
| 381 | comp_4=` ret += saturate(GetBlur2(uv)*2.8 - 0.13)*float3(1.4,0.3,1.3); |
| 382 | comp_5=`} |
| 383 | comp_6=` |
| 384 | comp_7=` |